// 文件系统相关类型定义
export interface FileSystemItem {
  name: string;
  type: "file" | "folder";
  size?: number;
  lastModified: Date;
  extension?: string;
  children?: FileSystemItem[];
}

export interface QuickAccessItem {
  name: string;
  path: string;
  icon: string;
}

export interface DriveItem {
  name: string;
  path: string;
  icon: string;
  size: string;
}

export interface FileItem {
  name: string;
  type: "file" | "folder";
  size?: string;
  modifiedDate: string;
  extension?: string;
  path: string;
}

export interface ClipboardData {
  item: FileSystemItem | null;
  operation: "copy" | "cut" | null;
  sourcePath?: string; // 添加源路径信息，用于剪切操作
}

export interface ContextMenuState {
  visible: boolean;
  position: {
    x: number;
    y: number;
  };
}
